//
//  ButtonControlM.h
//  jhf
//
//  Created by Mac on 2020/7/30.
//

#import "ViewControlM.h"

NS_ASSUME_NONNULL_BEGIN

@interface ButtonControlM : ViewControlM

@property (nonatomic, assign) UIViewContentMode imageVcontentMode;

@property (nonatomic, copy) NSString *btTitle;
@property (nonatomic, strong) UIFont *btTitleFont;
@property (nonatomic, copy) NSString *btTitleColorHex;

@property (nonatomic, assign) BOOL btEnable;
@property (nonatomic, assign) BOOL isSelected;

@property(nonatomic) UIEdgeInsets titleEdgeInsets;
@property (nonatomic, copy) NSString *btBgImageName;


@property (nonatomic, assign) NSTimeInterval lastTapTime;

// method
@property (nonatomic, copy) NSString *method;

+ (ButtonControlM *)defaultBTText:(NSString *)text;

+ (ButtonControlM *)defaultImageName:(NSString *)imageName;

- (BOOL)isEnableTap;

- (void)controlBT:(UIButton *)btn;

@end

NS_ASSUME_NONNULL_END
